//
//  ImageCollectionViewCell.h
//  Btpin
//
//  Created by Vic on 2019/3/24.
//  Copyright © 2019 Vic. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "ImageModel.h"

@protocol ImageCollectionViewCellDelegate <NSObject>
@optional
//- (void)imageCollectionViewCellImgTap:(NSIndexPath *)indexPath;
- (void)imageCollectionViewCellDeleteTap:(NSIndexPath *_Nullable)indexPath;
@end

NS_ASSUME_NONNULL_BEGIN

@interface ImageCollectionViewCell : UICollectionViewCell

@property (nonatomic, weak) id<ImageCollectionViewCellDelegate>delegate;

- (void)reloadData:(nullable ImageModel *)model indexPath:(NSIndexPath *)indexPath lastObject:(BOOL)lastObject hiddenAudit:(BOOL)hiddenAudit;

@end

NS_ASSUME_NONNULL_END
